package com.qingneng.budget.web;

import java.util.List;

import com.opensymphony.xwork2.Action;
import com.qingneng.budget.service.sdk.IWorkBudgetService;
import com.qingneng.budget.util.BaseAction;

public class LoadBuildTypeAction extends BaseAction{
	private IWorkBudgetService workBudgetService;
	private LoadBuildTypeAction(){};
	private LoadBuildTypeAction(IWorkBudgetService workBudgetService){
		this.workBudgetService = workBudgetService;
	}
	
	private List rows = null;

	private Integer total;


	public List getRows() {
		return rows;
	}
	public void setRows(List rows) {
		this.rows = rows;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public String execute(){
		rows =  workBudgetService.qetBuildType();
		total = new Integer(100000);
		return Action.SUCCESS;
	}
	

}
